package cn.edu.wfit.modules.learn.domain.dto;

import cn.edu.wfit.modules.learn.domain.WfitCompetition;
import cn.edu.wfit.modules.learn.domain.WfitCompetitionTeamrecord;

public class TeamDetailDto extends WfitCompetitionTeamrecord {
    private WfitCompetition competition;

    private int teamId;

    public TeamDetailDto(WfitCompetition competition) {
        this.competition = competition;
    }

    public int getTeamId() {
        return teamId;
    }

    public void setTeamId(int teamId) {
        this.teamId = teamId;
    }

    public TeamDetailDto(WfitCompetition competition, int teamId) {
        this.competition = competition;
        this.teamId = teamId;
    }

    public TeamDetailDto() {
    }

    public WfitCompetition getCompetition() {
        return competition;
    }

    public void setCompetition(WfitCompetition competition) {
        this.competition = competition;
    }
}
